<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<title>预约</title>
	<link rel="stylesheet" href="../bootstrap-3.3.4/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/common.css" type="text/css">
	<style type="text/css">
	* input{
		margin: 1px 10px;
	}
	body{
		background: rgba(0,0,0,0);
		 color: #fff;
	}
	input,textarea{
		color: #000;
	}
	textarea{
		width: 350px;
		height: 60px;
	}
	 .main{
            position: absolute;
            left: 40%;
     /*       margin-left: -230px;*/
        }	
	</style>

</head>
<body>
<div class="main">
	<%--<form   method="post" action="getarchivefinish" class="form-group"  Namespace="\">--%>
		<h2 class="text-center">申请借阅表</h2>
	<div class="input-group">
		<label>档案编号：</label><s:property value="amArchives.getArchivesId()"/> </br>
        <label>档案主题：</label><s:property value="mArchives.getArchivesTitle()"/> </br>
		<label>档案分类：</label><s:property value="amArchives.getArchivesTypeId().getFileTypeName()"/> <br>
		<label>档案描述：</label><br>
		<s:property value="amArchives.getArchivesAbstract()"/>  <br>
	</div>

	 <hr >	
	<div class="person_message">
		<label>申请人姓名：</label><s:property value="amAccount.getAccountNickname()"/> </br>
		<label>申请人部门：</label><s:property value="amAccount.getAccountDepartment().getDepartmentName()"/> <br>
	</div>
		<form   method="post" action="getarchivefinish" class="form-group"  Namespace="\"  >

        <input type="hidden" name="amArchivesId" value="<s:property value="amArchivesId"/>">

        <input type="hidden" name="accountId" value="<s:property value="accountId"/>">

		<hr>

		<div class="reading_message">
			<label>借阅天数：</label><input name="lentsdays" type="number" ><br>
		</div>

    <%--    <button  class="btn btn-primary" onclick="window.location.href('${pageContext.request.contextPath }/getarchivefinish?amArchivesId=<s:property value="amArchivesId"/>&accountId=<s:property value="accountId"/>')"  >申请</button>
--%>
            <button type="submit" name="提交"class="btn btn-primary">提交</button>

			<input type="button" class="btn btn-default"  name="Submit" onclick="javascript:history.back(-1);" value="返回">

    </form>

</div>
</body>
</html>